﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using ZFSData;
using ZFSData.InterFace;
using ZFSData.Manager;

namespace ZFSBusiness
{
    public class DictionaryManager : BaseManager<DictionaryManager>, IDictionary
    {
        public tb_Dictionary AddEntity(tb_Dictionary entity)
        {
            throw new NotImplementedException();
        }

        public bool DeleteEntity(tb_Dictionary entity)
        {
            throw new NotImplementedException();
        }

        public bool ExistEntity(Expression<Func<tb_Dictionary, bool>> whereLambda)
        {
            throw new NotImplementedException();
        }
        
        public List<tb_Dictionary> GetDictionarys()
        {
            throw new NotImplementedException();
        }

        public List<tb_Dictionary> GetModels(Expression<Func<tb_Dictionary, bool>> whereLambda)
        {
            throw new NotImplementedException();
        }

        public List<tb_Dictionary> GetPagingModels<S>(int pageIndex, int pageSize, out int totalCount, Expression<Func<tb_Dictionary, bool>> 
            whereLambda, Expression<Func<tb_Dictionary, S>> orderbyLambda, bool Asc = false)
        {
            return factoryManager.GetDictionaryManager().GetPagingModels(pageIndex, pageSize, out totalCount, whereLambda, orderbyLambda, Asc);
        }

        public bool UpdateEntity(tb_Dictionary entity)
        {
            throw new NotImplementedException();
        }
    }
}
